



twoway line cuml_dv year if year>=1975 & year<=2021, lcolor(black) lwidth(medthick) lpattern(solid) ///
	|| line cuml_iv year if year>=1975 & year<=2021, lcolor(black) lwidth(medthick) lpattern(dash) ///
 	xtitle("") xlabel(, angle(0) labsize(medium)) ///
	ytitle("Total (cumulative)", size(medium)) ///
	xlabel(1975(5)2020) ///
	ylabel(0(50)300) ymtick(25(50)275) ylabel(, angle(0) labsize(medium) glpattern(longdash)) ylabel(,grid gmax) ///
	plotregion(fcolor(white) lcolor(white)) graphregion(fcolor(white) lcolor(white) lwidth(thick))	title("", color(black)) ///
	legend(ring(0) position(10) bmargin(large) region(style(none)) col(1) label(1 "SWD as outcome") label(2 "SWD as predictor"))
